//二维数组
//员工的信息
//var emp = ['tom','男',20,'18500001234','研发部'];
var emps = [
  ['tom',20,'男','研发部'],
  ['jerry',18,'女','行政部'],
  ['david',21,'男','市场部'],
  ['tomas',22,'女','行政部']
];
//找jerry
//console.log(emps[1][0]);
for(var i=0; i<emps.length; i++){
   //console.log(emps[i]);
   //继续遍历emps[i]，并打印
   var str = '';
   for(var j=0; j<emps[i].length; j++){
     //console.log(emps[i][j]);
	 str += emps[i][j] + '-';
   }
   console.log(str);
}





